home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Biodiversity of Illinois 2: Woodland Habitats
/
Biodiversity of Illinois 2 - Woodland Habitats.iso
/
mac
/
casts
/
PDFxtraBehaviors.cst
/
00020_Script_PDF_Hide_OSX_Message
< prev
next >
Wrap
Text File
|
2006-07-11
|
1KB
|
31 lines
-- Hide PDF OSX Message sprite
on beginSprite me
-- you're in Director 8.5 or higher
if the platform contains "Macintosh" and the environment.osVersion contains "10" then
sprite(me.Spritenum).visible = TRUE
else
sprite(me.Spritenum).visible = FALSE
end if
end beginSprite
on getBehaviorDescription
tmp = "USE ONLY WITH DIRECTOR 8.5 OR HIGHER!"
tmp = tmp & RETURN & "Hides a sprite containing a message to Mac OS X users"
tmp = tmp & RETURN & "when movie is played on other operating systems."
tmp = tmp & RETURN & "To be attached to the PDF Behavior cast member:"
tmp = tmp & RETURN & "PDF_OSX_Message or similar text member."
tmp = tmp &RETURN&RETURN& "Free to use and abuse. (c)2003, Integration New Media, Inc."
return tmp
end
on getBehaviorTooltip
tmp = "Hides a sprite containing a message to Mac OS X users"
tmp = tmp & RETURN & "when movie is played on other operating systems."
tmp = tmp & RETURN & "To be attached to the PDF Behavior cast member:"
tmp = tmp & RETURN & "PDF_OSX_Message or similar text member."
tmp = tmp &RETURN&RETURN& "For use with Director 8.5 or higher. Free to use and abuse. (c)2003, Integration New Media, Inc."
return tmp
end